Closed bjonesy closed 2 years ago
I was able to resolve this. For others, if you customize the NavBar component and use login you can pass a logout url as a param in the logout function. You can also opt out of customizing the NavBar and use configuration for login and logout. https://redocly.com/docs/developer-portal/configuration/siteconfig/login/#examples
When using the logout function from
@redocly/ui
it always appends[object%20Object]/
to the end of the url. This causes a 404 page to always show.Following the documentation here. Customized the Nav and added the UserMenu based off of this example provided. https://github.com/Redocly/developer-portal-starter/pull/27/files#diff-956569b7abd1175639b59c147c5cf8e3760eec4b8bdc467bda8f2ebde51aca9d
On version 1.1.0-beta.92