Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MOSIP-30687] updated the document #1257

Merged
merged 23 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed docs/Images/On_demand_template_extraction.png
Binary file not shown.
20 changes: 19 additions & 1 deletion docs/authentication_error_eventing.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,34 @@ Since resident is eager to authenticate, we want to prioritize the credential pr
While getting the error UIN/VID is not available in database the websub event is triggered which publish the data in to the topic and the subscriber will receive a message for futher processing.

## Configuration files
These properties needed to be modified to configure this feature
id-authentication-default.properties:

- It enable and disable the bean init of kafka and Authentication error eventing
```
mosip.ida.authentication.error.eventing.enabled=true
```

- If we enable authentication error eventing as true we need all the below property
```
ida-topic-authentication-error-eventing=AUTHENTICATION_ERRORS
```

- Partner Id for encryption used in ondemand template extraction
```
mosip.ida.authentication.error.eventing.encrypt.partner.id=mpartner-default-tempextraction
```

- kafka Configuration
```
mosip.ida.kafka.bootstrap.servers=kafka-0.kafka-headless.${kafka.profile}:${kafka.port},kafka-1.kafka-headless.${kafka.profile}:${kafka.port},kafka-2.kafka-headless.${kafka.profile}:${kafka.port}
spring.kafka.admin.properties.allow.auto.create.topics=true

```

## Image source

![On demand-template-extraction](Images/Authentication_error_eventing.png)
![Authentication_error_eventing](Images/Authentication_error_eventing.png)

## Steps of sequence diagram:
```
Expand Down
50 changes: 0 additions & 50 deletions docs/ondemand_template_extraction.md

This file was deleted.

Loading