apache / incubator-hugegraph-doc

HugeGraph Website and Doc
https://hugegraph.apache.org/
Apache License 2.0
66 stars 94 forks source link

[Question] Swagger-UI requires login/auth but does not have this option (fixed) #304

Closed Zhang88665 closed 6 months ago

Zhang88665 commented 7 months ago

Problem Type (问题类型)

None

Your Question (问题描述)

I have configured user authentication for hugegraph, but the Swagger interface cannot be opened, prompting 401. Where should I enter my username and password?

image

imbajin commented 7 months ago

Which server version do u use? Auth was supported in latest master code (not 1.0.0, ready in docker latest images or 1.2.0)

@SunnyBoy-WYH Could take a look on it later? (if there are further questions)

Zhang88665 commented 7 months ago

Version 1.0.0, deployed locally using the tar package

imbajin commented 7 months ago

Version 1.0.0, deployed locally using the tar package

refer https://github.com/apache/incubator-hugegraph/pull/2360 (not supported auth with V1.0)

github-actions[bot] commented 6 months ago

Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label

imbajin commented 6 months ago

@Zhang88665 already supported in 1.2.0 (u could try docker image to use it)

image

2 ways:

image