Please tell us about all the things you did to add this plugin.
Did you add the before_code
as described earlier in this topic?
Is this a standard install ?
in app.yml Added like - git clone https//GitHubâ-.git
Selfhosted on Ubuntu 18 , and it is standard install with ./setup command
So you did not do this
@RGJ can you please tell me how to add this before_code , and please share me post with the before_code
No, Iâm sorry, you can use ctrl-f to search the topic and it will lead you to the answer.
@RGJ is referring to the guide in the github GitHub - spruceid/discourse-siwe-auth: Discourse plugin for SIWE authentication
In the app.yml file you need to add the sections below the hooks
section
it really did thanks dont know why i was not able to see it earlier
update : Installation done and plugin is working fine , now just testing with ETH wallet to login.
I believe this is broken, no popup (ask for sign) is happening when you press the âSign with Ethereumâ button on /discourse-siwe/auth page.
Below are the console logs that show up when you click the button.
SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
at Function.parse [as parseJSON] (<anonymous>)
at n (ajax-error.js:29:1)
at e.popupAjaxError (ajax-error.js:71:1)
at y (rsvp.js:435:1)
at v (rsvp.js:421:1)
at f (rsvp.js:370:1)
at m.invoke (queue.ts:203:14)
at m.flush (queue.ts:98:13)
at f.flush (deferred-action-queues.ts:75:19)
at $._end (index.ts:616:32)
at _boundAutorunEnd (index.ts:257:12)
TypeError: Cannot destructure property 'message' of '(intermediate value)' as it is undefined.
at e.signMessage (web3modal.js:66:1)
at async e.runSigningProcess (web3modal.js:82:1)
at async e.initAuth (siwe-auth-index.js:38:1)
Itâs working for me on both tests-passed as stable, using an Infura ID.
How did you configure the plugin?
Hmm I tried both infura key or public RPCâs, aswel as manually entered the mainnet RPC from infura. Iâm not sure if that is the problem.
Is it possible to edit/style the sign in with eth popup?