absowoot
absowoot
AEAsh Elixir
Created by Terris on 4/14/2023 in #showcase
Phoenix+Ash+Svelte : Better together
But maybe I feel that way because I'm newer to Elixir...and a bit lazy
11 replies
AEAsh Elixir
Created by Terris on 4/14/2023 in #showcase
Phoenix+Ash+Svelte : Better together
Yep, I've watched it and looked through the examples. Like you said, the Svelte community is larger with a lot of components ready to go. I like the idea of utilizing what's already built and sprinkling in a server-side store vs recreating components and writing the JS
11 replies
AEAsh Elixir
Created by Terris on 4/14/2023 in #showcase
Phoenix+Ash+Svelte : Better together
Thanks! Svelte is great and I like the idea of pushing what you want to the elixir "store" and the compartmentalization of a single component in one easy-to-read file.
11 replies
AEAsh Elixir
Created by Terris on 4/14/2023 in #showcase
Phoenix+Ash+Svelte : Better together
@Terris In your opinion, is LiveSvelte ready for production?
11 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
No problem -- OIDC is definitely confusing and Netsuite doesn't make it any easier from my side lol
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
Should I wait for merge?
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
Yeah absolutely! I didn't want to clog up GH issues for a branch but I'll get these comments posted there
32 replies
AEAsh Elixir
Created by Terris on 4/18/2023 in #showcase
Ash Twitter: An example Ash application by @zachdaniel
2 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
Note that Assent also added trusted_audiences to their config recently which is another item that I need to pass
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
One issue that I'm seeing is that the following items are required in the OAuth2 plug but should generally pull from the openid_configuration: 1. authorize_url 2. token_url For reference, here is the config I was using with POW assent which worked as expected: https://gist.github.com/absowoot/fe67de899b81575fe4b6b5cdb64202db Additionally, I tried setting openid_configuration map and it doesn't seem to work. Netsuite uses a different issuer than what's in their /.well-known/openid-configuration
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
@jart The updates are working great, thanks! I would agree with @\ ឵឵឵ that the nonce should probably be set to false by default.
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
Thanks for the update @jart Here are some issues I'm running into (I'm still new to Elixir so these could be on my end) 1. ash_authenticationphoenix complains about a missing icon for :oidc and I couldn't figure out how to pass an existing icon like github 2. Setting nonce "true" sets nonce=true in the url for my OIDC provider Setting nonce true gives an "Authentication Error" when visiting /auth/oidc/new Using the statement below in user.ex gives an "Authentication Error" when visiting /auth/oidc/new ```nonce fn , _ -> 24 |> :crypto.strong_rand_bytes() |> Base.encode64(padding: false) |> binary_part(0, 24) end``` So I set one manually for testing. 3. My provider shows that I successfully login but the callback page shows "Authentication Error" I suspect there is something I'm missing, and help would be appreciated. Here is my user.ex: https://gist.github.com/absowoot/ac5b78442114f838b7b7d78c79378516
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
Not a problem, thanks!
32 replies
AEAsh Elixir
Created by absowoot on 2/14/2023 in #support
Add nonce and/or OIDC to AshAuthentication
Absolutely
32 replies