Skip to content

Conversation

@alukach
Copy link
Member

@alukach alukach commented Jul 18, 2024

What I am changing

How I did it

How you can test it

Related Issues

@alukach
Copy link
Member Author

alukach commented Jul 26, 2024

@vincentsarago did a bit of a refactor, it's feeling a bit cleaner.

Going to try to put together some tests before marking this as ready.

boolean)
bool "$value"
;;
integer | number | object)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Customization added in radiantearth/stac-browser#461

@alukach
Copy link
Member Author

alukach commented Aug 19, 2024

@vincentsarago Hope I didn't steal your thunder, but I gave the breakout a try in aa30f7d. Feel free to suggest changes.

Copy link
Member

@vincentsarago vincentsarago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few changes I think we should do but the overall looks great

root_path=settings.root_path,
lifespan=lifespan,
swagger_ui_init_oauth={
"clientId": auth_settings.client_id,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when client_id is set to "" does Swagger understand that its unavailable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The clientId property populates the value on the auth form's text input (docs). As such, an empty string is equivalent to null

@alukach alukach merged commit 86545b0 into main Aug 22, 2024
@alukach alukach deleted the feature/add-auth branch August 22, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants