Replies: 5 comments 1 reply
-
I have a few questions:
In reference to...
Are these the settings in Github or are they set in Iridium? I suspect you might need to make the callback URI Thanks for reporting this, I see some holes in the docs that need to be filled. |
Beta Was this translation helpful? Give feedback.
-
Okay the dashboard url is coming from the docs.
On Sun, Jun 25, 2023 at 8:42 PM Josh Fischer ***@***.***> wrote:
I have a few questions:
- Are you building the CLI from source or downloading it from the
release artifacts?
In reference to...
Application Name: IridiumTestInstance
Homepage URL: http://localhost:4200/
Application Description: Iridium Testing
Application Callback URL: http://localhost:4200/dashboard
Are these the settings in Github or are they set in Iridium? I suspect you
might need to make the callback URI http://localhost:4200/callback. If
you are trying to get the management UI working.
Thanks for reporting this, I see some holes in the docs that need to be
filled.
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD24WDMSBM6XKENFPISS27TXNDSHTANCNFSM6AAAAAAZTJFHRQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Ryan Withers
Senior Software Developer / Analyst
http://www.linkedin.com/in/ryanwithers
Work: (314) 799-5817
|
Beta Was this translation helpful? Give feedback.
-
The cli is being built from source and the bin is being unpacked and run
relatively from the target directory.
On Sun, Jun 25, 2023 at 10:04 PM Ryan Withers ***@***.***>
wrote:
Okay the dashboard url is coming from the docs.
On Sun, Jun 25, 2023 at 8:42 PM Josh Fischer ***@***.***>
wrote:
> I have a few questions:
>
> - Are you building the CLI from source or downloading it from the
> release artifacts?
>
> In reference to...
>
> Application Name: IridiumTestInstance
> Homepage URL: http://localhost:4200/
> Application Description: Iridium Testing
> Application Callback URL: http://localhost:4200/dashboard
>
> Are these the settings in Github or are they set in Iridium? I suspect
> you might need to make the callback URI http://localhost:4200/callback.
> If you are trying to get the management UI working.
>
> Thanks for reporting this, I see some holes in the docs that need to be
> filled.
>
> —
> Reply to this email directly, view it on GitHub
> <#85 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AD24WDMSBM6XKENFPISS27TXNDSHTANCNFSM6AAAAAAZTJFHRQ>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Ryan Withers
Senior Software Developer / Analyst
http://www.linkedin.com/in/ryanwithers
Work: (314) 799-5817
--
Ryan Withers
Senior Software Developer / Analyst
http://www.linkedin.com/in/ryanwithers
Work: (314) 799-5817
|
Beta Was this translation helpful? Give feedback.
-
After looking at the logs I see
Is it possible your To verify, you can check the value stored in your browser vs the value stored in the database in the e.q.
|
Beta Was this translation helpful? Give feedback.
-
I will go through the steps again and select as you suggest both before and
after registration attempt.
How long is it valid, is the process for refreshing just logging in again?
On Mon, Jun 26, 2023 at 6:36 AM Josh Fischer ***@***.***> wrote:
After looking at the logs I see
software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.909Z DEBUG 1 --- [nio-8381-exec-9] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [software.iridium.api.base.error.NotAuthorizedException: NOT AUTHORIZED]
Is it possible your iridium-token being passed was valid? This can happen
when the server is stopped and restarted or the database is re-initted.
To verify, you can check the value stored in your browser vs the value
stored in the database in the access_tokens table.
e.q.
select * from access_tokens;
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD24WDNUVJKX4XJTHYEQNTLXNFX5JANCNFSM6AAAAAAZTJFHRQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Ryan Withers
Senior Software Developer / Analyst
http://www.linkedin.com/in/ryanwithers
Work: (314) 799-5817
|
Beta Was this translation helpful? Give feedback.
-
This post is a question about going password less. I'm initializing with the github provider choosing the login flow (the system asks me to authenticate with github and instead of taking me into iridium I'm getting getting redirected back to the login page, and I don't know why. Below I've listed in a pretty detailed fashion the steps I'm going through. I'm happy to elaborate where necessary.
I've reloaded with the most recent changes figuring I must have done something wrong (this is after the password removal changes). What I'm seeing in the logs is: "no pre-authenticated principal found in request." I have also included a snippet of logs from the container runtime.
I can't figure out the forwarding / redirecting thing. It dumps me right back to the register/login page when I try to login with github.
I wanted to list out the path I took, to see if you can see anything that I'm clearly missing. I'm backing all the way up to the point of building the image with the newly built jar from source. But I'm not including those steps which would be the mvn commands.
/bin/iridium init
--host=localhost
--port=3306
--user=root
--password
--allow-github=true
Application Name: IridiumTestInstance
Homepage URL: http://localhost:4200/
Application Description: Iridium Testing
Application Callback URL: http://localhost:4200/dashboard
I copied the client id and a newly generated secret when prompted by the init command above (step 7) I'm not including those there for obvious reasons.
I don't have any local changes, this is just a pull from main authenticating using the github provider. I figured before I can confidently submit code I need to be able to duplicate the functionality utilizing the newest codebase.
Did I miss anything?
Thanks,
Ryan
iridium | 2023-06-25T15:43:58.907Z DEBUG 1 --- [io-8381-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.907Z DEBUG 1 --- [nio-8381-exec-9] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/vnd.iridium.id.identity-response.1+json', given [application/vnd.iridium.id.identity-response.1+json] and supported [application/json, application/*+json]
iridium | 2023-06-25T15:43:58.907Z DEBUG 1 --- [nio-8381-exec-9] m.m.a.RequestResponseBodyMethodProcessor : Writing [software.iridium.api.base.domain.ApiResponse@8b0943b]
iridium | 2023-06-25T15:43:58.908Z DEBUG 1 --- [io-8381-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.908Z DEBUG 1 --- [io-8381-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.908Z DEBUG 1 --- [io-8381-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.909Z DEBUG 1 --- [io-8381-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.909Z DEBUG 1 --- [nio-8381-exec-9] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [software.iridium.api.base.error.NotAuthorizedException: NOT AUTHORIZED]
iridium | 2023-06-25T15:43:58.910Z DEBUG 1 --- [nio-8381-exec-9] o.s.web.servlet.DispatcherServlet : Completed 401 UNAUTHORIZED
iridium | 2023-06-25T15:43:58.910Z DEBUG 1 --- [io-8381-exec-10] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to software.iridium.api.controller.TenantController#getTenantSummaries(HttpServletRequest)
iridium | 2023-06-25T15:43:58.911Z INFO 1 --- [nio-8381-exec-9] o.s.web.filter.OncePerRequestFilter : After request - URI: /identities, Method: GET, Payload: No Payload, Time to process: 27ms
iridium | 2023-06-25T15:43:58.911Z INFO 1 --- [io-8381-exec-10] o.s.web.filter.OncePerRequestFilter : After request - URI: /tenants, Method: GET, Payload: No Payload, Time to process: 10ms
iridium | 2023-06-25T15:43:58.913Z DEBUG 1 --- [io-8381-exec-10] s.iridium.api.TokenAuthenticationFilter : Authenticating null
iridium | 2023-06-25T15:43:58.913Z DEBUG 1 --- [io-8381-exec-10] s.iridium.api.TokenAuthenticationFilter : No pre-authenticated principal found in request
Beta Was this translation helpful? Give feedback.
All reactions